package com.example.lvsuo.service.cxg.impl;

import com.example.lvsuo.entity.cxg.vo.FlowDataLine;
import com.example.lvsuo.mapper.cxg.MyThingMapper;
import com.example.lvsuo.service.cxg.MyThingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service
@Transactional
public class MyThingServiceImpl implements MyThingService {

    @Autowired
    MyThingMapper myThingMapper;


    @Override
    public String getRid(int uid) {
        return myThingMapper.getRid(uid);
    }

    @Override
    public List<Map<String, Object>> getMyDaiBan(String rid) {
        return myThingMapper.getMyDaiBan(rid);
    }

    @Override
    public String getjiedianId(String rid) {
        return myThingMapper.getjiedianId(rid);
    }

    @Override
    public FlowDataLine getNextId(Map<String, Object> map) {
        return myThingMapper.getNextId(map);
    }

    @Override
    public void putJieDian(FlowDataLine nodeID) {
        myThingMapper.putJieDian(nodeID);
    }

    @Override
    public void endPutJieDian(FlowDataLine nodeID) {
        myThingMapper.endPutJieDian(nodeID);
    }

    @Override
    public void TableFLowApproveStatus(Map<String, Object> map) {
        myThingMapper.TableFLowApproveStatus(map);
    }

    @Override
    public String getApprovalCol(Map<String, Object> map) {
        return myThingMapper.getApprovalCol(map);
    }

    @Override
    public void FlowBoHiu(Map rowData) {
        myThingMapper.FlowBoHiu(rowData);
    }

    @Override
    public void TableFLowBoHiuApproveStatus(Map<String, Object> map) {
        myThingMapper.TableFLowBoHiuApproveStatus(map);
    }
}
